<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>bmi</title>
</head>
<body>
<center>
    <form action="/bmi" method="post">
        <table border="1">
            <tr>
                <td>体重/kg</td>
                <td><input type="number" step="0.01" name="weight" placeholder="体重/单位：kg"></td>
            </tr>
            <tr>
                <td>身高/m</td>
                <td><input type="number" step="0.01" name="height" placeholder="身高/单位：m"></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><button type="submit">提交</button> </td>
            </tr>
        </table>
    </form>
</center>
</body>
</html>